package com.lin.pay.paypal.v2.dto.orders;

import com.paypal.http.annotations.SerializedName;

import java.io.Serializable;

public class Patch implements Serializable {
    /**
     * The <a href="https://tools.ietf.org/html/rfc6901">JSON Pointer</a> to the target document location from which to move the value. Required for the <code>move</code> operation.
     */
    private String from;


    /**
     * REQUIRED
     * The operation.
     */
    private String op;


    /**
     * The <a href="https://tools.ietf.org/html/rfc6901">JSON Pointer</a> to the target document location at which to complete the operation.
     */
    private String path;


    /**
     * The value to apply. The <code>remove</code> operation does not require a value.
     */
    private Object value;

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getOp() {
        return op;
    }

    public void setOp(String op) {
        this.op = op;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }
}
